#!/bin/sh

ver_old=$2
if [ "$(apk version -t "$ver_old" '2.1.0-r1')" = '<' ]; then
	cat <<- __EOF__
	* apk-polkit-rs should be running for the service to be available for
	* GNOME Software. Please run:
	* "rc-update add apk-polkit-server default && rc-service apk-polkit-server start"
	* if you want GNOME Software to work with APK
	__EOF__
fi
